home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_04
/
1004010a
< prev
next >
Wrap
Text File
|
1992-03-03
|
143b
|
8 lines
/* abs function */
#include <stdlib.h>
int (abs)(int i)
{ /* compute absolute value of int argument */
return ((i < 0) ? -i : i);
}